package com.petalsgroup.petals.pojo;

import java.io.Serializable;
import java.util.Date;

public class UserDO implements Serializable {
    private Integer uid; //id
    private String username; //用户名
    private String password; //密码
    private String banned; //禁言状态
    private String name; //姓名
    private Date create_time; //注册时间
    private String email; //邮箱
    private String code; //激活码
    private String active_state; //激活状态

    public UserDO() {
    }

    @Override
    public String toString() {
        return "UserDO{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password=" + password +
                ", banned='" + banned + '\'' +
                ", name='" + name + '\'' +
                ", create_time=" + create_time +
                ", email='" + email + '\'' +
                ", code='" + code + '\'' +
                ", active_state='" + active_state + '\'' +
                '}';
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBanned() {
        return banned;
    }

    public void setBanned(String banned) {
        this.banned = banned;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getActive_state() {
        return active_state;
    }

    public void setActive_state(String active_state) {
        this.active_state = active_state;
    }
}
